package cn.zhizihua.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 商家类
 */
@TableName("business")
@Data  //生成getter、setter
@NoArgsConstructor  //无参构造
@AllArgsConstructor //全参构造
@ToString   //生成toString
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Business {

    @TableId(value = "businessId",type = IdType.AUTO)
    private Integer businessId;
    private String businessAccount;
    private String businessPassword;
    private String businessName;
    private String businessAddress;
    private String businessExplain;
    private String businessImg;
    private Double startPrice;
    private Double deliveryPrice;
    private String remarks;

}